﻿@model QuanLyCayXanh.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<hgroup class="title">    
    <h2>Tạo tài khoản mới.</h2>
</hgroup>
<div class="pure-form pure-form-aligned">
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Đăng ký</legend>
       
        <div class="pure-control-group">
            @Html.LabelFor(m => m.UserName)
            @Html.TextBoxFor(m => m.UserName)
        </div>
        <div class="pure-control-group">
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password)
        </div>
        <div class="pure-control-group">
            @Html.LabelFor(m => m.ConfirmPassword)
            @Html.PasswordFor(m => m.ConfirmPassword)
        </div>
        <div class="pure-controls">
            <input class="pure-button pure-button-primary" type="submit" value="Đăng ký" />
        </div>
        
    </fieldset>
}
</div>


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
